<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <link rel="stylesheet" type="text/css" href="__CSS__/lib/normalize.css" />
    <link rel="stylesheet" type="text/css" href="__CSS__/mui-3.6.1.min.css" />
    <link rel="stylesheet" type="text/css" href="__CSS__/user_info.css" />
    <title>个人信息</title>
</head>

<body>
    <div class="top-bar">
        <div class="return" onclick="location.href='/Wx/Index/index/r/my'"></div>
        <div class="top-middle">个人信息</div>
        <div class="top-right"></div>
    </div>

    <ul class="mui-table-view">
        <li id="photoUpload" class="mui-table-view-cell">
            <a class="mui-navigate-right user_photo_txt"><span>头像</span>
                <div id="userPhoto" class="user_photo" <if condition="$uinfo['userPhoto']">style="background-image:url(/{$uinfo['userPhoto']});"</if> ></div>
            </a>

            <form id="form" method= "post"  enctype="multipart/form-data">
                <input id="photo_upload" name="file" type="file" />
            </form>
        </li>
        <li class="mui-table-view-cell">
            <a class="mui-navigate-right" href="/Wx/Login/nickname">用户名<span class="user_r">{$uinfo['userName']}</span></a>
        </li>
    </ul>
    <!--<div class="shop-address" onclick="location.href='/Wx/Address/myAddr'">收货地址</div>-->
    <ul class="mui-table-view">
        <li  class="mui-table-view-cell">
            <a class="mui-navigate-right" href="/Wx/Address/myAddr?ref=/Wx/Login/userInfo">收货地址<span class="user_r">修改</span></a>
        </li>
    </ul>
    <ul class="mui-table-view">
        <li class="mui-table-view-cell">
            <a class="mui-navigate-right" href="/Wx/Login/resetLoginPwd">登录密码<span class="user_r">修改</span></a>
        </li>
        <li class="mui-table-view-cell">
            <a class="mui-navigate-right" href="/Wx/Login/payPwd">支付密码<span class="user_r">修改</span></a>
        </li>
    </ul>
    <div id="sheet1" class="mui-popover mui-popover-bottom mui-popover-action ">
        <!-- 可选择菜单 -->
        <ul class="mui-table-view">
            <!-- <input id="hys-photo" type="file" accept="image/*" /> -->
            <li class="mui-table-view-cell" onclick="galleryImgs();">
                <a href="#">相册</a>
            </li>
            <!-- <input id="hys-camera" type="file" accept="image/*" capture="camera"> -->
            <li class="mui-table-view-cell" onclick="getImage();">
                <a href="#">拍摄</a>
            </li>
        </ul>
        <!-- 取消菜单 -->
        <ul class="mui-table-view">
            <li class="mui-table-view-cell">
                <a href="#sheet1" class="photo-cancel">取消</a>
            </li>
        </ul>
    </div>

    <div class="quit" onclick="confirm();">退出当前商户</div>
    <script type="text/javascript" src="__JS__/jquery2.1.1.min.js"></script>
    <script type="text/javascript" src="__JS__/mui-3.6.1.min.js"></script>
    <script type="text/javascript" src="__JS__/layer.min.js"></script>
    <script type="text/javascript" src="__JS__/ucenter/user_infoN.js"></script>
</body>

</html>
